package com.hst.capacity.domain.model.request.agent;

import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

@Data
public class AgentSaveParam {

//    @NotEmpty(message = "服务商ID-传入为修改[idAgent]不能为空")
    private String idAgent;
    @NotEmpty(message = "加盟商ID[idFranchisee]不能为空")
    private String idFranchisee;
    @NotEmpty(message = "服务商名称[agentName]不能为空")
    private String agentName;
    @NotEmpty(message = "服务商地址[agentAddress]不能为空")
    private String agentAddress;
    @NotEmpty(message = "服务商负责人[agentAdmin]不能为空")
    private String agentAdmin;
    @NotEmpty(message = "服务商联系电话[agentTel]不能为空")
    private String agentTel;
//    @NotNull(message = "抽佣比率[commissionRate]不能为空")
//    private float commissionRate;

    private Integer status = 1;

}
